import request from '@/utils/request'

export function listRefund(query) {
    return request({
        url: `/app-api/order/refundInfo/list`,
        method: 'get',
        params: query
    })
}

export function applyRefund(data) {
    return request({
        url: `/app-api/order/refundInfo/applyRefund`,
        method: 'post',
        data: data
    })
}
